package com.ctgu.fastleader.service.serviceImpl;

import com.ctgu.fastleader.dao.OutputRecordMapper;
import com.ctgu.fastleader.service.OutputRecordService;
import com.ctgu.fastleader.vo.OutputRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OutputRecordServiceImpl implements OutputRecordService {
    @Autowired
    OutputRecordMapper outputRecordMapper;

    @Override
    public int insertSelective(OutputRecord record) {
        return outputRecordMapper.insert(record);
    }

    @Override
    public List<OutputRecord> findAllInputOrderRecord() {
        return outputRecordMapper.findAllInputOrderRecord();
    }
}
